//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
#include <Menus.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TImage *Board;
        TMainMenu *MainMenu1;
        TMenuItem *Game;
        TMenuItem *Exit;
        TMenuItem *New;
        TMenuItem *Pause1;
        TMenuItem *About1;
        TImage *red01;
        TImage *red02;
        TImage *red03;
        TImage *red04;
        TImage *red05;
        TImage *red06;
        TImage *red07;
        TImage *red08;
        TImage *red09;
        TImage *red10;
        TImage *red11;
        TImage *red12;
        TImage *red13;
        TImage *red14;
        TImage *red15;
        TImage *whi01;
        TImage *whi02;
        TImage *whi03;
        TImage *whi04;
        TImage *whi05;
        TImage *whi06;
        TImage *whi07;
        TImage *whi08;
        TImage *whi09;
        TImage *whi10;
        TImage *whi11;
        TImage *whi12;
        TImage *whi13;
        TImage *whi14;
        TImage *whi15;
        TImage *light;
        TImage *kingRed;
        TImage *kingWhite;
        TImage *red;
        TImage *whi;
        TLabel *turnlabel;
        TImage *Board10;
        TImage *smallRed;
        TImage *smallKingRed;
        TImage *light10;
        TImage *smallWhite;
        TImage *smallKingWhite;
        TImage *Board8;
        TImage *light8;
        TImage *rightPanel;
        TLabel *lastMove;
		
		// SIMPAN ID PIECE YANG DIPILIH
		// white
		void __fastcall whi01MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall whi02MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall whi03MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall whi04MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall whi05MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall whi06MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall whi07MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall whi08MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall whi09MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall whi10MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall whi11MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall whi12MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall whi13MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall whi14MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall whi15MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		// red
		void __fastcall red01MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall red02MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall red03MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall red04MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall red05MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall red06MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall red07MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall red08MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall red09MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall red10MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall red11MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall red12MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall red13MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall red14MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		void __fastcall red15MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		
		void __fastcall ImageBoardMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
		
		void __fastcall NewClick(TObject *Sender);
		void __fastcall DisplayAbout(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
 